package cn.stylefeng.guns.modular.system.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 交付管理表
 * </p>
 *
 * @author zhucx
 * @since 2019-06-25
 */
@TableName("basic_deliver")
public class BasicDeliver implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户名称
     */
    @TableField("customername")
    private String customername;

    /**
     * 授权仓库数量
     */
    @TableField("empowerwarehouses")
    private String empowerwarehouses;

    /**
     * 授权终端数量
     */
    @TableField("empowerterminals")
    private String empowerterminals;

    /**
     * 到期时间
     */
    @TableField("maturitytime")
    private String maturitytime;

    /**
     * 地址
     */
    @TableField("address")
    private String address;

    /**
     * 联系人
     */
    @TableField("contacts")
    private String contacts;

    /**
     * 电话
     */
    @TableField("tel")
    private String tel;

    /**
     * 邮箱
     */
    @TableField("mailbox")
    private String mailbox;

    /**
     * 网址
     */
    @TableField("website")
    private String website;

    /**
     * 开票信息
     */
    @TableField("invoice")
    private String invoice;

    /**
     * 系统管理员账号
     */
    @TableField("sysuser")
    private String sysuser;

    /**
     * 系统管理员密码
     */
    @TableField("syspassword")
    private String syspassword;

    /**
     * 开通时间
     */
    @TableField("openingtime")
    private String openingtime;

    /**
     * 备注
     */
    @TableField("nodes")
    private String nodes;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 创建用户
     */
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    /**
     * 修改用户
     */
    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getCustomername() {
		return customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}

	public String getEmpowerwarehouses() {
        return empowerwarehouses;
    }

    public void setEmpowerwarehouses(String empowerwarehouses) {
        this.empowerwarehouses = empowerwarehouses;
    }

    public String getEmpowerterminals() {
        return empowerterminals;
    }

    public void setEmpowerterminals(String empowerterminals) {
        this.empowerterminals = empowerterminals;
    }

    public String getMaturitytime() {
        return maturitytime;
    }

    public void setMaturitytime(String maturitytime) {
        this.maturitytime = maturitytime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getMailbox() {
        return mailbox;
    }

    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getSysuser() {
        return sysuser;
    }

    public void setSysuser(String sysuser) {
        this.sysuser = sysuser;
    }

    public String getSyspassword() {
        return syspassword;
    }

    public void setSyspassword(String syspassword) {
        this.syspassword = syspassword;
    }

    public String getOpeningtime() {
        return openingtime;
    }

    public void setOpeningtime(String openingtime) {
        this.openingtime = openingtime;
    }

    public String getNodes() {
        return nodes;
    }

    public void setNodes(String nodes) {
        this.nodes = nodes;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "BasicDeliver{" +
        "id=" + id +
        ", customername=" + customername +
        ", empowerwarehouses=" + empowerwarehouses +
        ", empowerterminals=" + empowerterminals +
        ", maturitytime=" + maturitytime +
        ", address=" + address +
        ", contacts=" + contacts +
        ", tel=" + tel +
        ", mailbox=" + mailbox +
        ", website=" + website +
        ", invoice=" + invoice +
        ", sysuser=" + sysuser +
        ", syspassword=" + syspassword +
        ", openingtime=" + openingtime +
        ", nodes=" + nodes +
        ", version=" + version +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        "}";
    }
}
